﻿<!--{inc(header.view.html)}-->


<div class="header">    
  
                       <div class="nav">
	                                 <ul id="nav_list">



     <li><a href="#" class="nav_icon"  target="mainframe">{$modulename}信息列表</a></li>
                                                 <li><a href="index.php?app={$appname}&act=add&tid={$tid}"  target="mainframe">{$modulename}信息增加</a></li>



	                                 </ul>
                       </div>
                
</div>



<div id="content">
                   <h1>{$modulename}信息列表</h1>

                  <div>
                                    <div class="tips_show"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b>
                                                                  <span ></span>
                                    </div>



<style type="text/css">
.search_box {
padding:10px;
vertical-align:middle;
}
.search_box .l {
float:left;
vertical-align:middle;
}
.search_box .r {
float:right;
}
</style>
                                   
                                   
                                   
<form  method="post" action="?app={$appname}&act=index&tid={$tid}" >
<div class="search_box">
<div class="l"><img  src="{$web_view_dir}style/images/it_nav.gif" align="middle">
排序方式: 
<select  onchange="ato_url('index.php?app={$appname}&act=index&tid={$tid}',this);" id="orderby">
<option class="txtgreen" value="0">请选择...</option>
<option value="timeasc">时间升序↑</option>
<option value="timedesc">时间降序↓</option>
<option value="showyes">显示</option>
<option value="showno">隐藏</option>
<option value="topyes">置顶</option>
<option value="topno">不置顶</option>


<option value="recyes">推荐</option>
<option value="recno">不推荐</option>

<option value="indexyes">主页头条</option>
<option value="indexno">非主页头条</option>

</select>
</div>

<div class="r">

</div>

</div>
</form>

<div class="clear"></div>



     
<table width="100%" cellspacing="0" cellpadding="4" border="0" align="center"  class="table_style">
<tbody>
<tr>
	<td class="bold" width="40px" align="center" >ID</td>
	
    <!--PHPSCUP:START>
	<td class="bold"><PHPSCUP:LIST_ICON></td> 	
    <PHPSCUP:END-->
	

	
	<td width="25%" class="bold" align="center">发布时间</td>
	<td class="bold">操作</td>
</tr>

<?php foreach($lw_data as $_key => $_value ) { ?>

<tr  onMouseOut="this.className=''" onMouseOver="this.className='bgcolor'">
	<td  align="center">
	<a href="{$site_url}/?app={$appname}&act=show&id={$_value.id}" target="_blank">{$_value.id}</a>
	</td>	

    <!--PHPSCUP:START>
	<td ><PHPSCUP:LIST_CODE></td> 	
    <PHPSCUP:END-->
        

	<td>{$_value.add_time|dateymdgis}</td>
	<td>
    
     <a href="#" id="op_{$_key}" onMouseOver="show_menu('op_{$_key}','opdiv_{$_key}','show','left')" onMouseOut="show_menu('op_{$_key}','opdiv_{$_key}','hide','left')"><img src="{$web_view_dir}style/images/menu_edit.gif" align="absmiddle" border="0" /></a>
	                                           <div id="opdiv_{$_key}" class="operate operate_common">
	                                            <a href="?app={$appname}&act=edit&tid={$tid}&id={$_value.id}" target="mainframe">修改</a>
	                                            <a href="?app={$appname}&act=del&tid={$tid}&id={$_value.id}" onClick="return confirm('确认删除此项？此操作无法恢复！');">删除</a>
	                                           </div>
                                               
	                                       
	</td>
</tr>

<?php } ?> 



<style type="text/css">

.p_bar {
margin-top:5px;
}
.p_info {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}
.p_curpage {
border:1px solid #CCCCCC;
color:#FF0000;
font-weight:bold;
margin:0 2px;
padding:3px 5px;
text-align:center;
}

.p_num  {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}
.p_redirect {
border:1px solid #CCCCCC;
margin:0 3px;
padding:3px 5px;
text-align:center;
}

a {
color:#003366;
text-decoration:none;
}


</style>

<tr>
	<td colspan="7">
    <div class="p_bar">
    <span class="p_info">Total:&nbsp;<b>{$lw_page.total}</b>&nbsp;&nbsp;共{$lw_page.curr.num}/{$lw_page.totalpage}页</span>
    <a class="p_num" href="{$lw_page.head}">首页</a>
    <a class="p_num" href="{$lw_page.up}">&lt;&lt;</a>
    <a class="p_num" href="{$lw_page.up}">上一页</a>
    <span class="p_curpage">{$lw_page.curr.num}</span>
    <a  class="p_num" href="{$lw_page.down}">下一页</a>
    <a  class="p_num" href="{$lw_page.down}">&gt;&gt;</a>
    <a  class="p_num" href="{$lw_page.foot}">末页</a>    
    
    </div>
    </td>
</tr>


</tbody>
</table>
                        
    
    

                 </div>

</div>



<!--{inc(footer.view.html)}-->